package com.zzy.service;

import com.zzy.bean.User;
import com.zzy.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService{
    @Resource
    private UserDao userDao;
    @Override
    public User login(User user) {
        return userDao.login(user);
    }
}
